home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
CC_C
/
0562.ZIP
/
ADDPATH.BAS
< prev
next >
Wrap
BASIC Source File
|
1987-03-29
|
335b
|
13 lines
10 OPEN "addpath.dat" FOR INPUT AS 1
20 LINE INPUT #1, A$
30 IF A$="No Path" THEN A$="PATH="
40 OPEN "addpat.bat" FOR OUTPUT AS 2
50 PRINT "Setting "+A$+";"+ENVIRON$("PAT")
60 PRINT #2, "SET "+A$+";"+ENVIRON$("PAT")
70 PRINT #2, "SET PATX=PAT"
80 PRINT #2, "ERASE ADDPATH.DAT"
90 PRINT #2, "ADDPATH"
100 CLOSE
110 SYSTEM